const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  //配置加载md文件时的解析规则
  chainWebpack: config => {
    config.module
      .rule("md")
      .test(/\.md/)
      .use("html-loader")
      .loader("html-loader")
      .end()
      .use("markdown-loader")
      .loader("markdown-loader")
      .end();
  },
  lintOnSave: false, // 处理eslint   Use // eslint-disable-next-line to ignore the next line.
});
